﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopShipping : BaseObject
    {
        //begin
        public TopShipping(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _Tid;
        [Size(SizeAttribute.Unlimited)]
        public string Tid
        {
            get
            {
                return _Tid;
            }
            set
            {
                SetPropertyValue("Tid", ref _Tid, value);
            }
        }
        private string _OrderCode;
        [Size(SizeAttribute.Unlimited)]
        public string OrderCode
        {
            get
            {
                return _OrderCode;
            }
            set
            {
                SetPropertyValue("OrderCode", ref _OrderCode, value);
            }
        }
        private string _SellerNick;
        [Size(SizeAttribute.Unlimited)]
        public string SellerNick
        {
            get
            {
                return _SellerNick;
            }
            set
            {
                SetPropertyValue("SellerNick", ref _SellerNick, value);
            }
        }
        private string _BuyerNick;
        [Size(SizeAttribute.Unlimited)]
        public string BuyerNick
        {
            get
            {
                return _BuyerNick;
            }
            set
            {
                SetPropertyValue("BuyerNick", ref _BuyerNick, value);
            }
        }
        private DateTime _DeliveryStart;
        public DateTime DeliveryStart
        {
            get
            {
                return _DeliveryStart;
            }
            set
            {
                SetPropertyValue("DeliveryStart", ref _DeliveryStart, value);
            }
        }
        private DateTime _DeliveryEnd;
        public DateTime DeliveryEnd
        {
            get
            {
                return _DeliveryEnd;
            }
            set
            {
                SetPropertyValue("DeliveryEnd", ref _DeliveryEnd, value);
            }
        }
        private string _OutSid;
        [Size(SizeAttribute.Unlimited)]
        public string OutSid
        {
            get
            {
                return _OutSid;
            }
            set
            {
                SetPropertyValue("OutSid", ref _OutSid, value);
            }
        }
        private string _ItemTitle;
        [Size(SizeAttribute.Unlimited)]
        public string ItemTitle
        {
            get
            {
                return _ItemTitle;
            }
            set
            {
                SetPropertyValue("ItemTitle", ref _ItemTitle, value);
            }
        }
        private string _ReceiverName;
        [Size(SizeAttribute.Unlimited)]
        public string ReceiverName
        {
            get
            {
                return _ReceiverName;
            }
            set
            {
                SetPropertyValue("ReceiverName", ref _ReceiverName, value);
            }
        }
        private string _ReceiverPhone;
        [Size(SizeAttribute.Unlimited)]
        public string ReceiverPhone
        {
            get
            {
                return _ReceiverPhone;
            }
            set
            {
                SetPropertyValue("ReceiverPhone", ref _ReceiverPhone, value);
            }
        }
        private string _ReceiverMobile;
        [Size(SizeAttribute.Unlimited)]
        public string ReceiverMobile
        {
            get
            {
                return _ReceiverMobile;
            }
            set
            {
                SetPropertyValue("ReceiverMobile", ref _ReceiverMobile, value);
            }
        }
        private TopLocation _Location;
        public TopLocation Location
        {
            get
            {
                return _Location;
            }
            set
            {
                SetPropertyValue("Location", ref _Location, value);
            }
        }
        private string _Status;
        [Size(SizeAttribute.Unlimited)]
        public string Status
        {
            get
            {
                return _Status;
            }
            set
            {
                SetPropertyValue("Status", ref _Status, value);
            }
        }
        private string _Type;
        [Size(SizeAttribute.Unlimited)]
        public string Type
        {
            get
            {
                return _Type;
            }
            set
            {
                SetPropertyValue("Type", ref _Type, value);
            }
        }
        private string _FreightPayer;
        [Size(SizeAttribute.Unlimited)]
        public string FreightPayer
        {
            get
            {
                return _FreightPayer;
            }
            set
            {
                SetPropertyValue("FreightPayer", ref _FreightPayer, value);
            }
        }
        private string _SellerConfirm;
        [Size(SizeAttribute.Unlimited)]
        public string SellerConfirm
        {
            get
            {
                return _SellerConfirm;
            }
            set
            {
                SetPropertyValue("SellerConfirm", ref _SellerConfirm, value);
            }
        }
        private string _CompanyName;
        [Size(SizeAttribute.Unlimited)]
        public string CompanyName
        {
            get
            {
                return _CompanyName;
            }
            set
            {
                SetPropertyValue("CompanyName", ref _CompanyName, value);
            }
        }
        private bool _IsSuccess;
        public bool IsSuccess
        {
            get
            {
                return _IsSuccess;
            }
            set
            {
                SetPropertyValue("IsSuccess", ref _IsSuccess, value);
            }
        }
        private DateTime _Created;
        public DateTime Created
        {
            get
            {
                return _Created;
            }
            set
            {
                SetPropertyValue("Created", ref _Created, value);
            }
        }
        private DateTime _Modified;
        public DateTime Modified
        {
            get
            {
                return _Modified;
            }
            set
            {
                SetPropertyValue("Modified", ref _Modified, value);
            }
        }
        //end
    }
}
